//
//  MJTabBar.h
//  NewClothesForEveryDay
//
//  Created by dllo on 15/7/13.
//  Copyright (c) 2015年 蓝天. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MJTabBar;
/**
 *  自定义协议
 */

@protocol MJTabBarDelegate <NSObject>

- (void)tabBar:(MJTabBar *)tabBar didSelectItemFrom:(NSInteger)from to:(NSInteger)to;

@end

@interface MJTabBar : UIView

@property (nonatomic, retain) id<MJTabBarDelegate>delegate;

/**
 *  添加按钮方法
 *
 *  @param name    选中前照片
 *  @param selName 选中后照片
 */
- (void)addTabBarButtonWithName:(NSString *)name selName:(NSString *)selName;

@end
